#pragma comment(lib, "HAPI_Debug.lib")

#include <HAPI_lib.h>

void HAPI_Main()
{

	int w = 400, h = 200;

	if(HAPI->Initialise(&w, &h))
		while(HAPI->Update())
		{

		}
}